<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>分配送货员</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="../../../elementUI/index.css">
  <link rel="stylesheet" href="../../../css/index.css">
</head>

<body>
  <div id="app" class="minWidth">
    <el-form :model="form" ref="contract" inline-message="true" :rules="rules" style="width: 100%">
      <!-- <el-input v-model.trim="form.Enterprise_Info_SerialNumber" v-show="false"></el-input>
      <el-input v-model.trim="form.Industry_SubCategory_SerialNumber" v-show="false"></el-input>
      <el-input v-model.trim="form.Industry_Category_SerialNumber" v-show="false"></el-input> -->
      <div class="table_titel">
        <div class="titel">销售订单</div>
      </div>
      <el-descriptions :column="3" border size="small">
        <el-descriptions-item label="销售订单号">
          <el-form-item prop="Sales_Order_SerialNumber">
            <el-input v-model.trim="form.Sales_Order_SerialNumber" placeholder="请输入销售订单号"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="门店编号">
          <el-form-item prop="Store_SerialNumber">
            <el-input v-model.trim="form.Store_SerialNumber" placeholder="请输入门店编号"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="销售日期">
          <el-form-item prop="Sales_Date">
            <el-date-picker v-model.trim="form.Sales_Date" type="datetime" placeholder="选择日期时间" default-time="12:00:00"
              value-format="timestamp">
            </el-date-picker>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="消费人员编号">
          <el-form-item prop="Open_ID">
            <el-input v-model.trim="form.Open_ID" placeholder="请输入消费人员编号"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="消费总额">
          <el-form-item prop="Sales_Amount">
            <el-input v-model.trim="form.Sales_Amount" placeholder="请输入消费总额"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="实收金额">
          <el-form-item prop="Collection_Amount">
            <el-input v-model.trim="form.Collection_Amount" placeholder="请输入实收金额"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="销售人员ID">
          <el-form-item prop="Sales_ID">
            <el-input v-model.trim="form.Sales_ID" placeholder="请输入销售人员ID"></el-input>
          </el-form-item>
        </el-descriptions-item>
      </el-descriptions>

      <div class="table_titel">
        <div class="titel">销售明细</div>
      </div>
      <el-descriptions :column="3" border size="small">
        <el-descriptions-item label="个体税率明细编号">
          <el-form-item prop="Sales_Order_Detail_SerialNumber">
            <el-input v-model.trim="form.Children.sales_order_detail[0].Sales_Order_Detail_SerialNumber"
              placeholder="请输入个体税率明细编号"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="商品编号">
          <el-form-item prop="Article_SerialNumber">
            <el-input v-model.trim="form.Children.sales_order_detail[0].Article_SerialNumber"
              placeholder="请输入商品编号"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="订单类型">
          <el-form-item prop="Sign">
            <el-input v-model.trim="form.Children.sales_order_detail[0].Sign"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="数量">
          <el-form-item prop="Quantity">
            <el-input v-model.trim="form.Children.sales_order_detail[0].Quantity" placeholder="请输入数量"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="吊牌价">
          <el-form-item prop="Unit_Price">
            <el-input v-model.trim="form.Children.sales_order_detail[0].Unit_Price" placeholder="请输入商品吊牌价"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="销售单价">
          <el-form-item prop="Sales_Unit_Price">
            <el-input v-model.trim="form.Children.sales_order_detail[0].Sales_Unit_Price"
              placeholder="请输入销售单价"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="销售金额">
          <el-form-item prop="Amount">
            <el-input v-model.trim="form.Children.sales_order_detail[0].Amount" placeholder="请输入销售金额"></el-input>
          </el-form-item>
        </el-descriptions-item>
      </el-descriptions>

      <el-form-item class="form-operation">
        <el-button @click="window.history.back()">返回</el-button>
        <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
      </el-form-item>
    </el-form>
  </div>
  <script type="text/javascript" src="../../../js/jquery-3.6.0.min.js"></script>
  <script type="text/javascript" src="../../../js/jquery.cookie.js"></script>
  <script type="text/javascript" src="../../../js/vue.min.js"></script>
  <script type="text/javascript" src="../../../elementUI/index.js"></script>
  <script type="text/javascript" src="../../../js/utils.js"></script>
  <script type="text/javascript" src="../../../js/ID_Validity.js"></script>
  <script type="text/javascript" src="./js/Add.js"></script>
</body>

</html>